package com.ztorn.fiscale.service;

import com.ztorn.fiscale.domain.FiscaleTaxInvoice;
import java.util.List;

/**
 * 税务发票Service接口
 * 
 * @author ztorn
 * @date 2025-09-19
 */
public interface IFiscaleTaxInvoiceService 
{
    /**
     * 查询税务发票
     * 
     * @param invoiceId 税务发票ID
     * @return 税务发票
     */
    public FiscaleTaxInvoice selectFiscaleTaxInvoiceById(Long invoiceId);

    /**
     * 查询税务发票列表
     * 
     * @param fiscaleTaxInvoice 税务发票
     * @return 税务发票集合
     */
    public List<FiscaleTaxInvoice> selectFiscaleTaxInvoiceList(FiscaleTaxInvoice fiscaleTaxInvoice);

    /**
     * 新增税务发票
     * 
     * @param fiscaleTaxInvoice 税务发票
     * @return 结果
     */
    public int insertFiscaleTaxInvoice(FiscaleTaxInvoice fiscaleTaxInvoice);

    /**
     * 修改税务发票
     * 
     * @param fiscaleTaxInvoice 税务发票
     * @return 结果
     */
    public int updateFiscaleTaxInvoice(FiscaleTaxInvoice fiscaleTaxInvoice);

    /**
     * 批量删除税务发票
     * 
     * @param invoiceIds 需要删除的税务发票ID
     * @return 结果
     */
    public int deleteFiscaleTaxInvoiceByIds(Long[] invoiceIds);

    /**
     * 删除税务发票信息
     * 
     * @param invoiceId 税务发票ID
     * @return 结果
     */
    public int deleteFiscaleTaxInvoiceById(Long invoiceId);
    
    /**
     * 撤销税务发票
     * 
     * @param invoiceId 税务发票ID
     * @return 结果
     */
    public int revokeFiscaleTaxInvoice(Long invoiceId);
    
    /**
     * 重新开具税务发票
     * 
     * @param invoiceId 税务发票ID
     * @return 结果
     */
    public int reissueFiscaleTaxInvoice(Long invoiceId);
}